From f04d0180d474a3afdc5b9fe83b8e1cf6f421fbd0 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sat, 2 Dec 2006 20:47:14 +0000 Subject: [PATCH] Minor tweaks on test-all. Add test-all to Makefile target 'torture'. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2574 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/Makefile.in | 16 ++++++++++++++-- gpsbabel/test-all | 2 ++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gpsbabel/Makefile.in b/gpsbabel/Makefile.in index e53b72d5c..3aa583c27 100644 --- a/gpsbabel/Makefile.in +++ b/gpsbabel/Makefile.in @@ -134,8 +134,20 @@ check: ./testo torture: - ./testo - ./torture_test + @echo "testo in progress... (basic data integrity test)" + @./testo + @echo "vtesto in progress... (valgrind is watching testo)" + @./vtesto + @echo "torture_test in progress... (shortname reduction)" + @./torture_test +# +# Because there are some "non-real" errors like "IGC: bad date" +# test-all does not stop on errors. +# Please inspect the log file (/tmp/gb-test-all.log) for segmentation +# faults, math overflows and other hard errors +# + @echo "test-all in progress... (read/write test between all possible formats)" + @./test-all -s -r reference/expertgps.gpx # # This will only work on UNIX-like substances. diff --git a/gpsbabel/test-all b/gpsbabel/test-all index 9bc831657..3740b0107 100755 --- a/gpsbabel/test-all +++ b/gpsbabel/test-all @@ -197,6 +197,8 @@ if test ! -s $REFGPX; then exit 1 fi +test -s $LOGFILE && rm -f $LOGFILE.bak > /dev/null +touch $LOGFILE touch $CATALOG log_entry "test-all started." -- 2.30.2